﻿@model IEnumerable<SelectListItem>

<label for="theme"> Theme :</label> @Html.DropDownListPreselectByText(Model, "theme", @Html.GetThemeName())
<script type="text/javascript">
    document.getElementById("theme").onchange = function () {
        window.location = this.options[this.selectedIndex].value;
    }
</script>